package com.huaxia.day8.t2;

public class TestCalculator {
    public static void main(String[] args) {
        Calculator calculator = new CalculatorImpl();
        int values [] = {1,2,3,4,5};
        int result = calculator.add(1, 2, 3, 4, 5);
        System.out.println(result);
        System.out.println(".....");
        System.out.println(calculator.add(values));

    }
}
